#pragma once
#define _CRT_SECURE_NO_WARNINGS
#include <list>
#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
using namespace std;
typedef list<char>Mylist;

static char* s_cGlobalPlayer1;
static char* s_cGlobalPlayer2;
static char s_cGlobalBoard[3][3];
static int s_iGlobalSizeBoard = 3;
static bool s_bGlobalSwithPlayer;
static list<char> s_lGlobalDataWite;
static list<char> s_lGlobalDataRead;

void SwitchPlayer();
void ReplayGame();
void TictactoeLib();
void InputNamePlayer();
void InGame();
void ShowBoard();
void LoadDataSave();
void ShowReplay();
int CheckColumn(char a);
int CheckRow(char a);
int CheckCrossIncrease(char a);
bool IsCheckWon(char a);
int CheckMove(char a);
void ReadRMS();
void ReleaseData();
